import { createApp } from 'vue';
import './style.css';
import App from './App.vue';
import router from './router';
import 'element-plus/dist/index.css';
import { createPinia } from 'pinia';
//pinia持久化
import piniaPersist from 'pinia-plugin-persist';
// 防止es10语法配合table报错
import 'polyfill-object.fromentries';

const app = createApp(App);

const pinia = createPinia();
pinia.use(piniaPersist);
app.use(router);
app.use(pinia);
app.mount('#app');
